package br.com.teste.controller.historia;

import br.com.teste.manager.historia.HistoriaBuilder;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;

// Henrique
public class HistoriaController {
    
    @Autowired
    HistoriaBuilder historiaBuilder;
      
    private HistoriaVo vo;
    private List<HistoriaVo> voList;
    
    public void salvar() {
        try {
            historiaBuilder.build(vo);
        } catch (Exception e) {
            
        }
    }

    public HistoriaVo getVo() {
        return vo;
    }

    public void setVo(HistoriaVo vo) {
        this.vo = vo;
    }

    public List<HistoriaVo> getVoList() {
        return voList;
    }
    
    
        
}
